export let mv_rank = {
  namespaced: true,
  state: {
    mv_rank_data: {},
  },
  actions: {
    getMvRankData(store, data = {}) {
      let url = "/top/mv?limit=" + data.limit + "&offset=" + (data.page - 1) * data.limit + "&area=" + data.area;
      axios.get(url).then(({
        data
      }) => {
        store.commit("setMvRankData", data);
      });
    },
  },
  mutations: {
    setMvRankData(state, data) {
      state.mv_rank_data = data;
    },
  }
}
